import java.net.URL;


public class DBTubeResource
{
	private String keyword;
	
	private URL uri;
	
	DBTubeResource (String keyWord, URL uri){
		this.setUri(uri);
		this.setKeyword(keyWord);
	}

	/**
	 * @param uri the uri to set
	 */
	public void setUri(URL uri)
	{
		this.uri = uri;
	}

	/**
	 * @return the uri
	 */
	public URL getUri()
	{
		return uri;
	}

	/**
	 * @param keyword the keyword to set
	 */
	public void setKeyword(String keyword)
	{
		this.keyword = keyword;
	}

	/**
	 * @return the keyword
	 */
	public String getKeyword()
	{
		return keyword;
	}
	
	public String toString(){
		return "Keyword: "+keyword+"\n"+"URI: "+uri;
	}
	

}
